Skip to content

refactor: rename GATT service structs, document blob versioning#927

Merged
HaoboGu merged 1 commit into
feat/rynk_protocolfrom
polish/rynk-naming
Jul 12, 2026
Merged

refactor: rename GATT service structs, document blob versioning#927
HaoboGu merged 1 commit into
feat/rynk_protocolfrom
polish/rynk-naming

Conversation

@HaoboGu

@HaoboGu HaoboGu commented Jul 11, 2026

Copy link
Copy Markdown
Owner

Two small polish items from the #848 branch review — no behavior change, no wire change:

  • The GATT service structs RynkService / VialService become RynkGattService / VialGattService, ending the type-name collision with the protocol services of the same names in host/rynk / host/via (all pub(crate), field names unchanged)
  • payload/layout.rs now documents that the layout blob has no version byte of its own — its postcard schema rides the protocol-major rule like any response payload

The encoder payload reshape originally in this PR was dropped by review feedback (GetEncoderRequest keeps its name and shape).

Verification: rmk rynk suite (617) and vial+BLE suite (546) pass. +11/−6.

Part of the post-review follow-ups for #848.

- The GATT service structs RynkService / VialService become
  RynkGattService / VialGattService, ending the type-name collision
  with the protocol services of the same names (all pub(crate),
  field names unchanged).
- Document that the layout blob has no version byte of its own — its
  postcard schema rides the protocol-major rule like any response.

Signed-off-by: Haobo Gu <haobogu@outlook.com>
@HaoboGu HaoboGu force-pushed the polish/rynk-naming branch from ae0f872 to 6b7d605 Compare July 12, 2026 05:23
@HaoboGu HaoboGu changed the title refactor: rynk naming polish — EncoderPosition, GATT struct rename, blob doc refactor: rename GATT service structs, document blob versioning Jul 12, 2026
@HaoboGu HaoboGu merged commit 90ada51 into feat/rynk_protocol Jul 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant